package cn.ywang.pattern.delegate;

/**
 * 老板
 *
 * @author BeatificWang
 * @date 2019/3/14 21:03
 */
public class Boss {
	private Manager manager;

	public Boss(Manager manager) {
		this.manager = manager;
	}

	public void command(String command) {
		System.out.println("老板，下发命令：" + command);
		this.manager.command(command);
	}
}
